//
//  RegisterViewController.m
//  WeChat
//
//  Created by wpapple on 16/6/15.
//  Copyright © 2016年 红红火火恍恍惚惚嘿嘿嘿. All rights reserved.
//

#import "RegisterViewController.h"

@interface RegisterViewController()

@property (weak, nonatomic) IBOutlet UITextField *accountTextfield;
@property (weak, nonatomic) IBOutlet UITextField *firstPasswordTextField;
@property (weak, nonatomic) IBOutlet UITextField *secondPasswordTextfield;


@end

@implementation RegisterViewController

-(void)viewDidLoad{
    [super viewDidLoad];
    
    UILabel * accountLabel = [[UILabel alloc]initWithFrame:CGRectMake(0, 0, 50, 30)];
    [accountLabel setText:@"账号:"];
    
    UILabel * firstPasswordLabel = [[UILabel alloc]initWithFrame:CGRectMake(0, 0, 50, 30)];
    [firstPasswordLabel setText:@"密码:"];
    
    UILabel * secondPassword = [[UILabel alloc]initWithFrame:CGRectMake(0, 0, 80, 30)];
    [secondPassword setText:@"确认密码:"];
    
    self.accountTextfield.leftView = accountLabel;
    self.accountTextfield.leftViewMode = UITextFieldViewModeAlways;
    
    self.firstPasswordTextField.leftView = firstPasswordLabel;
    self.firstPasswordTextField.leftViewMode = UITextFieldViewModeAlways;
    
    self.secondPasswordTextfield.leftView = secondPassword;
    self.secondPasswordTextfield.leftViewMode = UITextFieldViewModeAlways;
    
    
}

- (IBAction)RegisterButton:(UIButton *)sender {
    
    
    
}


@end
